package com.changgou.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: hushengjin
 */
@FeignClient("item")
public interface ItemInfoFeign {

    @PostMapping("/itemInfo/decrCount")
    String decrCount(@RequestParam(value = "id") int id, @RequestParam(value = "count") int count);

}
